package com.sidianzhong.sdz.model;

import java.io.Serializable;

/**
 * @author 
 */
public class WebHequipmentitemgroup implements Serializable {
    private Integer id;

    private String roomname;

    private String equipmentkey;

    private String ownkey;

    private String owntype;

    private String ownname;

    private String alarmup;

    private String alarmdown;

    private String status;

    private String ifalarm;

    private String ifkey;

    private String showform;

    private String valuesize;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoomname() {
        return roomname;
    }

    public void setRoomname(String roomname) {
        this.roomname = roomname;
    }

    public String getEquipmentkey() {
        return equipmentkey;
    }

    public void setEquipmentkey(String equipmentkey) {
        this.equipmentkey = equipmentkey;
    }

    public String getOwnkey() {
        return ownkey;
    }

    public void setOwnkey(String ownkey) {
        this.ownkey = ownkey;
    }

    public String getOwntype() {
        return owntype;
    }

    public void setOwntype(String owntype) {
        this.owntype = owntype;
    }

    public String getOwnname() {
        return ownname;
    }

    public void setOwnname(String ownname) {
        this.ownname = ownname;
    }

    public String getAlarmup() {
        return alarmup;
    }

    public void setAlarmup(String alarmup) {
        this.alarmup = alarmup;
    }

    public String getAlarmdown() {
        return alarmdown;
    }

    public void setAlarmdown(String alarmdown) {
        this.alarmdown = alarmdown;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIfalarm() {
        return ifalarm;
    }

    public void setIfalarm(String ifalarm) {
        this.ifalarm = ifalarm;
    }

    public String getIfkey() {
        return ifkey;
    }

    public void setIfkey(String ifkey) {
        this.ifkey = ifkey;
    }

    public String getShowform() {
        return showform;
    }

    public void setShowform(String showform) {
        this.showform = showform;
    }

    public String getValuesize() {
        return valuesize;
    }

    public void setValuesize(String valuesize) {
        this.valuesize = valuesize;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WebHequipmentitemgroup other = (WebHequipmentitemgroup) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getRoomname() == null ? other.getRoomname() == null : this.getRoomname().equals(other.getRoomname()))
            && (this.getEquipmentkey() == null ? other.getEquipmentkey() == null : this.getEquipmentkey().equals(other.getEquipmentkey()))
            && (this.getOwnkey() == null ? other.getOwnkey() == null : this.getOwnkey().equals(other.getOwnkey()))
            && (this.getOwntype() == null ? other.getOwntype() == null : this.getOwntype().equals(other.getOwntype()))
            && (this.getOwnname() == null ? other.getOwnname() == null : this.getOwnname().equals(other.getOwnname()))
            && (this.getAlarmup() == null ? other.getAlarmup() == null : this.getAlarmup().equals(other.getAlarmup()))
            && (this.getAlarmdown() == null ? other.getAlarmdown() == null : this.getAlarmdown().equals(other.getAlarmdown()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getIfalarm() == null ? other.getIfalarm() == null : this.getIfalarm().equals(other.getIfalarm()))
            && (this.getIfkey() == null ? other.getIfkey() == null : this.getIfkey().equals(other.getIfkey()))
            && (this.getShowform() == null ? other.getShowform() == null : this.getShowform().equals(other.getShowform()))
            && (this.getValuesize() == null ? other.getValuesize() == null : this.getValuesize().equals(other.getValuesize()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getRoomname() == null) ? 0 : getRoomname().hashCode());
        result = prime * result + ((getEquipmentkey() == null) ? 0 : getEquipmentkey().hashCode());
        result = prime * result + ((getOwnkey() == null) ? 0 : getOwnkey().hashCode());
        result = prime * result + ((getOwntype() == null) ? 0 : getOwntype().hashCode());
        result = prime * result + ((getOwnname() == null) ? 0 : getOwnname().hashCode());
        result = prime * result + ((getAlarmup() == null) ? 0 : getAlarmup().hashCode());
        result = prime * result + ((getAlarmdown() == null) ? 0 : getAlarmdown().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getIfalarm() == null) ? 0 : getIfalarm().hashCode());
        result = prime * result + ((getIfkey() == null) ? 0 : getIfkey().hashCode());
        result = prime * result + ((getShowform() == null) ? 0 : getShowform().hashCode());
        result = prime * result + ((getValuesize() == null) ? 0 : getValuesize().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", roomname=").append(roomname);
        sb.append(", equipmentkey=").append(equipmentkey);
        sb.append(", ownkey=").append(ownkey);
        sb.append(", owntype=").append(owntype);
        sb.append(", ownname=").append(ownname);
        sb.append(", alarmup=").append(alarmup);
        sb.append(", alarmdown=").append(alarmdown);
        sb.append(", status=").append(status);
        sb.append(", ifalarm=").append(ifalarm);
        sb.append(", ifkey=").append(ifkey);
        sb.append(", showform=").append(showform);
        sb.append(", valuesize=").append(valuesize);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}